#! /bin/bash

# install the wine env
cd /usr/local/src/
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu

cd deepin-wine-for-ubuntu
chmod +x ./install_2.8.22.sh./install_2.8.22.sh

cd /usr/local/src/
sudo wget http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/deepin.com.wechat_2.6.8.65deepin0_i386.deb
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb

# 3.2 deepin-wine QQ 和 Wechat 中文乱码问题
# deepin-wine 下安装 QQ 和 Wechat 后，中文显示成小方框了怎么办

cd /opt/deepinwine/tools 
sudo vim run.sh
 
# 然后，找到 WINE_CMD=“deepin-wine” 中间添加 “LC_ALL=zh_CN.UTF-8”

WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"
run_v2.sh 也作同样的修改

